<?php

/*
 * This file is part of Respect/Validation.
 *
 * (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
 *
 * For the full copyright and license information, please view the "LICENSE.md"
 * file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Respect\Validation\Rules\Locale;

use Respect\Validation\Rules\AbstractSearcher;

/**
 * Validates whether an input is subdivision code of Paraguay or not.
 *
 * ISO 3166-1 alpha-2: PY
 *
 * @see http://www.geonames.org/PY/administrative-division-paraguay.html
 *
 * @author Henrique Moody <henriquemoody@gmail.com>
 */
final class PySubdivisionCode extends AbstractSearcher
{
    /**
     * {@inheritdoc}
     */
    protected function getDataSource(): array
    {
        return [
           '1', // Concepcion
           '10', // Alto Parana
           '11', // Central
           '12', // Neembucu
           '13', // Amambay
           '14', // Canindeyu
           '15', // Presidente Hayes
           '16', // Alto Paraguay
           '19', // Boqueron
           '2', // San Pedro
           '3', // Cordillera
           '4', // Guaira
           '5', // Caaguazu
           '6', // Caazapa
           '7', // Itapua
           '8', // Misiones
           '9', // Paraguari
           'ASU', // Asuncion
       ];
    }
}
